package com.example.hospital_208.service;

import com.example.hospital_208.po.Department;

import java.util.List;

public interface DepartmentService {
    // 新增方法
    List<String> listMainDepartmentNames();
    List<String> listSubDepartmentNames(Integer parentId);

    // 原有方法
    List<Department> listDepartments();
    Department getDepartmentById(Integer department_id);
    Integer getDepartmentIdByName(String departmentName);
    int addDepartment(Department department);
    int editDepartment(Department department);
    int removeDepartment(Integer department_id);
}